#ifndef INPUTDIALOG_H
#define INPUTDIALOG_H

#include <QDialog>

namespace Ui {
class InputDialog;
}

class InputDialog : public QDialog
{
    Q_OBJECT
    
public:
    InputDialog(const QString& label = QString(), QWidget *parent = 0);
    ~InputDialog();
    void done(int res);
    QVariant input(const QString &initValue = QString());

private slots:
    void digitClicked();
    void on_button_dot_clicked();
    void on_button_plmn_clicked();
    void on_button_back_clicked();
    void on_button_clear_clicked();

private:
    Ui::InputDialog *ui;
    QString m_result;
};

#endif // INPUTDIALOG_H
